package pers.fulsun.demo.springcloud;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author fulsun
 * @create: 2021-08-15 16:05
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
//@EnableDistributedTransaction // 开启TC
public class SpringCloudClientApplication {

    public static void main(String[] args){
        SpringApplication.run(SpringCloudClientApplication.class, args);
    }

}
